def squaredouble(ilist):
    for i in range(len(ilist)):
        if ilist[i] % 2 == 0:
            ilist[i] *= ilist[i]
    return ilist


l1 = [9, 7, 8, 3, 2, 11, 12, 5]
print(l1)
print(squaredouble(l1))
